﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AMTest
{
    class Program
    {
        static void Main(string[] args)
        {
            double[,] matr = new double[4, 4];
            matr[0, 0] = 5; matr[1, 0] = 2; matr[2, 0] = 4; 
            matr[0, 0] = -3; matr[1, 1] = 6; matr[2, 1] = 2;
            matr[0, 0] = 3; matr[1, 2] = -3; matr[2, 2] = 1;
            double[] d, v;
            double[,] x, z;
            alglib.rmatrixevd(matr, 3, 1, out d, out v, out x, out z);
            System.Diagnostics.Debug.WriteLine("eigen1: " + d + " \n eigen2: " + x);
        }
    }
}
